package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcWatchSafetyRange;
import com.csun.cmny.provider.model.dto.watch.WatchSafetyRangePageQuery;
import com.csun.cmny.provider.model.vo.watch.DmcWatchSafetyRangeVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcWatchSafetyRangeMapper extends Mapper<DmcWatchSafetyRange> {

    /**
     * query watch safety range list with page
     *
     * @param watchSafetyRangePageQuery watch safety range page query
     *
     * @return the query list.
     */
    List<DmcWatchSafetyRangeVo> queryWatchSafetyRangeListWithPage(
            WatchSafetyRangePageQuery watchSafetyRangePageQuery);

    /**
     * get watch safety range by id
     *
     * @param id    id
     *
     * @return  the dmc watch safety range vo
     */
    DmcWatchSafetyRangeVo getWatchSafetyRangeById(Long id);
}